﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace ImoviesBlazorAntPro.Server.Migrations
{
    public partial class ChangeEntity : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "RealUrl",
                table: "TeleplayVlinks",
                type: "TEXT",
                nullable: false,
                defaultValue: "");

            migrationBuilder.AddColumn<string>(
                name: "RealUrl",
                table: "MovieVlinks",
                type: "TEXT",
                nullable: false,
                defaultValue: "");

            migrationBuilder.AddColumn<string>(
                name: "RealUrl",
                table: "AnimationVlinks",
                type: "TEXT",
                nullable: false,
                defaultValue: "");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "RealUrl",
                table: "TeleplayVlinks");

            migrationBuilder.DropColumn(
                name: "RealUrl",
                table: "MovieVlinks");

            migrationBuilder.DropColumn(
                name: "RealUrl",
                table: "AnimationVlinks");
        }
    }
}
